﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DataCom;
using ConfigurationFactory;

namespace DBAccessLib
{
    public static class LineShift
    {
        public static DataTable GetLineShift(string lineCode)
        {
            ILineShiftDataAccess dataAccess = DataCommunicationFactory.GetLineShiftDataAccess();
            return dataAccess.GetLineShift(lineCode);
        }

        public static DataTable GetLineShift_New(string lineCode,string NumTime)
        {
            ILineShiftDataAccess dataAccess = DataCommunicationFactory.GetLineShiftDataAccess();
            return dataAccess.GetLineShift_New(lineCode, NumTime);
        }

        public static string GetLineNumTime(string lineCode)
        {
            ILineShiftDataAccess dataAccess = DataCommunicationFactory.GetLineShiftDataAccess();
            return dataAccess.GetLineNumTime(lineCode);
        }
    }
}
